package com.company.编译原理.test;

import java.util.regex.Pattern;

/**
 * @ClassName test
 * @Description TODO
 * @Author 11
 * @Date 2021/3/11 14:40
 * @Version 1.0
 */
public class test {
    public static void main(String[] args) {
        char currChar = '*';
        boolean iscomment = Pattern.matches("\\*",String.valueOf(currChar));
        System.out.println(iscomment);
    }
}
